package io.zhiller.ollamaclient.api.git

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class GitGetFileResponse(
  val type: String,
  val encoding: String,
  val size: Int,
  val name: String,
  val path: String,
  val content: String,
  val sha: String,
  val url: String,
  @SerialName("html_url") val htmlUrl: String,
  @SerialName("download_url") val downloadUrl: String,
  @SerialName("_links") val links: GitGetFileResponseLinks
)

@Serializable
data class GitGetFileResponseLinks(
  val self: String,
  val html: String
)